﻿<UserControl
	x:Class="HomeUX.ClientApp.LaAv" Width="800" Height="530" IsTabStop="False"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c="clr-namespace:HomeUX.Controls;assembly=HomeUX.ClientLibrary"
    xmlns:local="clr-namespace:HomeUX.ClientApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
	<Grid x:Name="LayoutRoot" Background="{StaticResource DefaultBackgroundBrush}">

		<c:HorizontalBanner Text="Scripts" Margin="492,447,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300" Height="75" />

		<local:MediaControl x:Name="TheMediaControl" Margin="5,5,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />

		<c:TouchDropDownList Label="Audio Source" SyncPath="Living Area Audio\Source" HorizontalAlignment="Left" Margin="420,130,0,0" VerticalAlignment="Top" Width="292"
            ViewportMinWidth="280" ViewportMaxHeight="425" DropDownBorderThickness="0"
		 	ItemAction="SetStringValue" ConfigurationSyncPath="." ItemsConfigurationSyncPath="Values" />
		<c:TouchLevel Label="Volume" SyncPath="Living Area Audio\Volume" HorizontalAlignment="Left" Margin="420,185,0,0" VerticalAlignment="Top" Width="292"/>
		<c:TouchLevel Label="Fader" SyncPath="Living Area Audio\Fader" Margin="420,240,0,240" HorizontalAlignment="Left" Width="292" d:LayoutOverrides="Height"/>
		<TextBlock Text="Front" HorizontalAlignment="Right" Margin="0,0,350,223" Height="23" VerticalAlignment="Bottom" FontStyle="Italic" />
		<TextBlock Text="Rear" HorizontalAlignment="Right" Margin="0,0,178,223" Height="23" VerticalAlignment="Bottom" FontStyle="Italic" />
		<TextBlock Text="Both" HorizontalAlignment="Right" Margin="0,0,265,223" Height="23" VerticalAlignment="Bottom" FontStyle="Italic" />
        
		<c:TouchButton Text="Mute" SyncPath="Living Area Audio\IsMuted" ItemAction="ToggleBooleanValue" HorizontalAlignment="Right" Margin="0,185,34,0" VerticalAlignment="Top" d:LayoutOverrides="Width, Height"/>
		<c:TouchButton HorizontalAlignment="Left" Margin="680,305,0,0" Width="50"
			Text="Front Power" SyncPath="Sunfire\IsPowered" ItemAction="ToggleBooleanValue" VerticalAlignment="Top" d:LayoutOverrides="Height" />
		<c:TouchDropDownList HorizontalAlignment="Left" VerticalAlignment="Top" Width="200" Margin="420,305,0,0"
			Label="Effect" ViewportMinWidth="280" ViewportMaxHeight="425"
			DropDownBorderThickness="0"
			SyncPath="Sunfire\Effect" ItemAction="SetStringValue"
			ConfigurationSyncPath=".." ItemsConfigurationSyncPath="EffectNames" />
		<c:TouchButton HorizontalAlignment="Left" Margin="624,305,0,0" Width="50"
			Text="Holo Effect" SyncPath="Sunfire\IsHolo" ItemAction="ToggleBooleanValue" RenderTransformOrigin="0.3,0.4" VerticalAlignment="Top" d:LayoutOverrides="Height" />
		<c:TouchButton x:Name="HearButton" Text="Listen to&#xa;TBD" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="420,70,0,0" Width="80"
			ItemAction="ToggleBooleanValue" />
		<c:TouchButton x:Name="WatchButton" Text="Watch&#xa;TBD" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="505,70,0,0" Width="80"
		    ItemAction="ToggleBooleanValue" />
		<c:TouchButton HorizontalAlignment="Left" VerticalAlignment="Top" Margin="555,5,0,0" Width="80"
			Text="Deck Audio" ItemAction="Navigate" Tag="GenAudioScreen" />
		<Border Margin="519,18,0,0" Background="Silver" Height="25" VerticalAlignment="Top" HorizontalAlignment="Left" Width="47" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
			<Border.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform Angle="-90"/>
					<TranslateTransform/>
				</TransformGroup>
			</Border.RenderTransform><TextBlock TextAlignment="Center" VerticalAlignment="Center" FontSize="13" Foreground="White" FontWeight="Bold"><Run Text="Go To"/></TextBlock></Border>
		<c:TouchButton HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,5,0" Width="80"
			Text="Lighting" ItemAction="Navigate" Tag="LivingAreaScreen" />
		<c:TouchButton HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,85,0" Width="80"
			Text="A/V Details" ItemAction="Navigate" Tag="LaAvDetailsScreen" />
		<c:TouchButton Text="TV Time" Margin="0,472,158,0" SyncPath="Scripts\TV Time" ItemAction="ToggleBooleanValue" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" />
		<c:TouchButton Text="Gary Daytime" Margin="0,472,83,0" SyncPath="Scripts\Gary Daytime" ItemAction="ToggleBooleanValue" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" />
		<c:TouchButton Text="Bedtime" Margin="0,472,8,0" SyncPath="Scripts\Bedtime" ItemAction="ToggleBooleanValue" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" />
		<c:TouchButton Text="Morning Time" Margin="0,472,233,0" SyncPath="Scripts\Morning Time" ItemAction="ToggleBooleanValue" HorizontalAlignment="Right" VerticalAlignment="Top" Width="75" />
		<c:TouchButton x:Name="TvControlButton" IsEnabled="False" Text="TV Control" VerticalAlignment="Top" Width="100" Click="TvControlButton_Click" HorizontalAlignment="Left" Margin="420,375,0,0"/>
		<c:TouchButton HorizontalAlignment="Left" Margin="524,0,0,105" Width="50"
			Text="TV Power" SyncPath="Aquos\IsPowered" ItemAction="ToggleBooleanValue" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
        
	</Grid>

</UserControl>

